package com.xcyy.zjdxmjk.zjdxmjk.service;

import com.xcyy.zjdxmjk.zjdxmjk.entity.House;

import java.util.Date;
import java.util.List;

public interface HouseService {
    House save(House house);
    List<House> findByTownCode(String townCode);
    List<Object> countHouse();
    List<Object> countQjdcAndBdccl(String code);
    List<Object> findByDept(List<String> codes );
    List<Object> findByDate(Date startDate, Date endDate);
    List<Object> findByCodeAndStageAndType(String code, String stage,String type);
    House findByDateAndStageAndTypeAndTownCode(Date date,  Integer stage, Integer type ,String code);
    List<Object> findByDeptAndStage(String code );
}
